﻿@model Model.AppUserList
@{
    ViewBag.Title = "LocationInventoryBatch";
    Layout = "~/Views/Shared/_JQBaseLayOut.cshtml";
}
@using Model

@section JQscriptSection{
    <script src="../../Scripts/viewsScript/LocationInventoryBatch/LocationInventoryBatch.js" type="text/javascript"></script>
    <script src="../../Scripts/viewsScript/Common/MyDialog.js" type="text/javascript"></script>
    <script src="../../Scripts/jqueryeasyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            //$('#cellNo').combobox('setValue', '无');
            InitGrid();

        });
    </script>
}

<body style="background-color: ButtonFace; font-size: 17px">
    <div class="easyui-panel" title="查询条件" style="height: 70px; padding: 5px; background: #fafafa; width: 1700px;">
        <form id="query" method="post">
            <table>
                <tr>
                    <td>商品编码:
                    </td>
                    <td>
                        <input id="txtGOODSCODE" name="txtGOODSCODE" style="width: 154px" />
                    </td>
                    <td>商品名称:
                    </td>
                    <td>
                        <input id="txtGOODSNAME" name="txtGOODSNAME" style="width: 154px" />
                    </td>
                    <td>库位:
                    </td>
                    <td>
                        <select id="cellNo" class="easyui-combogrid" name="cellNo" style="width: 154px;"
                            data-options="
                        idField:'CELLNO',
                        textField:'CELLNO',
                        url:'@Url.Content("/BaseData/CellNoList?IsSetAll=1")',
                        columns:[[
                            {field:'CELLNO',title:'库位',width:120}
                        ]]
                    ">
                        </select>
                        @*<input id="cellNo" class="easyui-combobox" name="cellNo" style="width: 155px;" data-options="required:true,valueField:'CELLNO',textField:'CELLNO',url:'@Url.Action("CellNoList", "BaseData", new { })',editable:false">*@
                    </td>
                    <td>是否解锁:
                    </td>
                    <td>
                        <select id="saleDays" class="easyui-combobox" name="saleDays" style="width: 154px;">
                            <option value="0">临保</option>
                            <option value="1">解锁</option>
                        </select>
                    </td>
                    <td>
                        <a id="btnSerach" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search'" onclick="InitGrid()">查询</a>
                    </td>
                </tr>
            </table>
        </form>

    </div>
    
    <div>
        <table id="tab_list">
        </table>
    </div>

    <div id="dlg" class="easyui-dialog" style="width: 520px; height: 150px; top: 300px; left: 400px; padding: 2px"
        data-options="closed:true,buttons:'#dlg-buttons',modal:true">
        <form id="location" method="post">
            <table>
                <tr>
                    <td>商品编码:
                    </td>
                    <td colspan="2">
                        <input id="hiddenInventoryId" name="hiddenInventoryId" type="hidden" />
                        <input id="hiddenOverdays" name="hiddenOverdays" type="hidden" />
                        <input id="txtGoodsCode" name="txtGoodsCode" class="easyui-validatebox" style="width: 154px" data-options="required:true" />
                    </td>
                    <td>商品名称:
                    </td>
                    <td colspan="2">
                        <input id="txtGoodsName" name="txtGoodsName" class="easyui-validatebox" style="width: 154px" data-options="required:true" />
                    </td>
                </tr>

                <tr>
                    <td>解锁天数:
                    </td>
                    <td colspan="4">
                        <input id="txtNumber" name="txtNumber" class="easyui-validatebox" style="width: 100px" validtype="integer['#txtNumber']" />
                    </td>
                </tr>
                <tr>
                    <td colspan="5">
                        <a id="btnSave" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save'" onclick="save()">保存</a>
                    </td>
                </tr>
            </table>
        </form>
    </div>

</body>


